﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmployeeWorkLog_list.aspx.cs"
    Inherits="TRPOP.CRM.Web.EmployeeWorkLog_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="~/Controls/UC_Pager.ascx" TagName="UC_Pager" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>员工工作情况记录</title>
    <script src="../Scripts/utils.js" type="text/javascript"></script>
    <script type="text/jscript">
        function WorkComment_dialog(id) {
            show_dialog("/Remind/WorkingLog_view.aspx?ID=" + id, 370, 215, "跟踪说明", true);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="welcomBox">
        <div class=" welcomCont listPadding">
            <p class=" mb5 c_grey postion">
                您的当前位置：<a href="../welcome.aspx" title="首页">首页</a> > <a href="#" title="员工工作情况记录">员工工作情况记录</a></p>
            <div class="listTit">
                <div class=" fl listTit_l">
                </div>
                <div class=" fl listTit_c">
                    <h4 class="fl f14 fb">
                        员工工作情况记录</h4>
                </div>
                <div class=" fr listTit_r">
                </div>
            </div>
            <div class="listCon listCon_padding">
                <table width="100%" border="0" class="tableBox">
                    <thead>
                        <tr>
                            <td colspan="8" class="findRow">
                                <div class="fr pr10 findRow_right">
                                    <span>员工列表</span>
                                    <asp:DropDownList ID="ddlEmployee" CssClass="searchddl" runat="server" Height="19px"
                                        Width="80px">
                                    </asp:DropDownList>
                                    &nbsp;&nbsp; <span>开始时间：</span>
                                    <asp:TextBox ID="txtStartTime" runat="server" Width="80px" ToolTip="格式：2011-01-01"
                                        onclick="javascript:return new Calendar.display(this.id,event);" Height="19px"
                                        CssClass="nameIpt"></asp:TextBox>
                                    <font style="color: Red">*</font><asp:Label ID="lblStartTime" runat="server" Text=""></asp:Label>
                                    <span>结束时间：</span> &nbsp;&nbsp;
                                    <asp:TextBox ID="txtEndTime" runat="server" Width="80px" ToolTip="格式：2011-01-01"
                                        onclick="javascript:return new Calendar.display(this.id,event);" Height="19px"
                                        CssClass="nameIpt"></asp:TextBox>
                                    <font style="color: Red">*</font><asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                                    &nbsp;&nbsp;
                                    <asp:Button ID="btnSearch" runat="server" Text="查 询" CssClass="findBtn" OnClick="btnSearch_Click" />
                                </div>
                            </td>
                        </tr>
                        <tr class="f12 tableTit">
                            <th width="10%" class="tc fb br1ce">
                                员工名称
                            </th>
                            <th width="15%" class="tc fb br1ce">
                                公司名称
                            </th>
                            <th width="15%" class="tc fb br1ce">
                                跟进情况
                            </th>
                            <th width="10%" class="tc fb br1ce">
                                型号
                            </th>
                            <th width="10%" class="tc fb br1ce">
                                价格
                            </th>
                            <th width="10%" class="tc fb br1ce">
                                数量
                            </th>
                            <th width="10%" class="tc fb br1ce">
                                跟进时间
                            </th>
                            <th class="tc fb br1ff">
                                详情
                            </th>
                        </tr>
                    </thead>
                    <tbody id="tab">
                        <asp:Repeater runat="server" ID="rptList">
                            <ItemTemplate>
                                <tr class="f12">
                                    <td class="tc">
                                        <%#Eval("nvcEmployeeName")%>
                                    </td>
                                    <td class="tc">
                                        <a href='../Company/Company_view.aspx?id=<%#Eval("iCompanyID")%>'>
                                            <%#Eval("nvcCompanyName")%>
                                        </a>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcFollowUpCategoryName")%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcExtention1")%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcExtention2")%>
                                    </td>
                                    <td class="tc">
                                        <%#Eval("nvcExtention3")%>
                                    </td>
                                    <td class="tc">
                                        <%#Convert.ToDateTime(Eval("dtCreationTime")).ToString("MM-dd HH:mm")%>
                                    </td>
                                    <td class="tc pr10 c_blue2 br1ff">
                                        <a href='#' title="查看详细" onclick='WorkComment_dialog(" + <%#Eval("iWorkingLogID").ToString()%> + ")'>
                                            <%#TRPOP.Common.StringExtension.GetSubString(Eval("nvcDiscription").ToString(), 8, "...")%>
                                        </a>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td colspan="8">
                                <div class="f12 tablePage">
                                    <uc1:UC_Pager ID="Pager" OnPageChanged="UC_PagerChanged" runat="server" />
                                </div>
                            </td>
                        </tr>
                    </tfoot>
                </table>
            </div>
        </div>
    </div>
    <script type="text/javascript">
<!--
        var Ptr = document.getElementById("tab").getElementsByTagName("tr");
        function $() {
        }
        window.onload = $;
        for (var i = 0; i < Ptr.length; i++) {
            Ptr[i].onmouseover = function () {
                this.tmpClass = this.className;
                this.className = "f12 js_bgColor";

            };
            Ptr[i].onmouseout = function () {
                this.className = this.tmpClass;
            };
        }
//-->
    </script>
    </form>
</body>
</html>
